import { ProductCard } from 'react-vant'

const productCard = ({ items }) => {
    const {name,price,desc,image,num } = items
    return (
        items&&
        <ProductCard
            num={num}
            price={price}
            title={name}
            desc={desc}
            thumb={image}
        />
    )
}

export default productCard